/* styles.css */
body{background-color:#212121;color:white;font-family:"Microsoft YaHei UI",sans-serif;margin:0;padding:20px}
#app-container{max-width:800px;margin:0 auto;text-align:center}
.title{font-size:2.5em;font-weight:bold;color:white}
.subtitle{font-size:1em;color:#ccc}
.start-screen-credits{font-size:.9em;color:#888}
.start-screen-input{font-size:1.2em;width:80px;text-align:center;background-color:#2c2c2c;color:white;border:1px solid #8B0000;margin:10px 0}
.start-screen-button,.confirm-button{font-size:1.5em;font-weight:bold;background-color:#8B0000;color:white;border:none;padding:15px 30px;cursor:pointer;margin-top:20px;transition:transform .1s}
.start-screen-button:hover,.confirm-button:hover{transform:scale(1.05);background-color:#A52A2A}
.role-selection-title{font-size:2em;font-weight:bold;color:#FFD700;margin-bottom:20px}
.role-list{display:flex;flex-direction:column;gap:10px}
.role-item{display:flex;align-items:center;background-color:#2c2c2c;border:1px solid #444;padding:10px;cursor:pointer;transition:background-color .2s}
.role-item.selected{background-color:#8B0000;border-color:#FFD700}
.role-item img{width:80px;height:80px;margin-right:15px}
.role-details{text-align:left}
.role-details h3{margin:0 0 5px 0;color:#eee}
.role-details p{margin:0;font-size:.9em;color:#bbb}
.game-header{display:flex;justify-content:flex-start;align-items:center;margin-bottom:20px}
.player-info{display:flex;align-items:center;background-color:#2c2c2c;padding:10px;border-radius:8px}
.player-info img{width:60px;height:60px;border-radius:50%;margin-right:15px}
.player-info .player-name{font-size:1.2em;font-weight:bold;margin:0}
.player-info .choices-left{font-size:1em;color:#ccc;margin:0}
.card-display{margin:20px 0}
.card-display img{max-width:150px;height:auto;border:3px solid #FFD700;border-radius:10px}
.choice-buttons{display:flex;justify-content:center;gap:40px;margin-top:20px}
.choice-btn{font-size:1.8em;font-weight:bold;color:white;border:2px solid white;border-radius:50%;width:100px;height:100px;cursor:pointer;transition:all .2s}
.choice-btn.take{background-color:#006400}
.choice-btn.discard{background-color:#8B0000}
.choice-btn:hover{transform:scale(1.1);box-shadow:0 0 15px #FFD700}
.summary-section{background-color:#2c2c2c;border-radius:8px;padding:10px 20px;margin-bottom:15px}
.summary-section h2{font-size:1.2em;color:#FFD700;margin-top:0;text-align:left;border-bottom:1px solid #444;padding-bottom:5px}
.summary-card-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px}
.summary-card{width:60px;height:auto}
.final-score{font-size:2em;font-weight:bold;color:white;margin-top:30px}
.skill-activation .summary-card-row p{font-size:1.2em;font-weight:bold;margin:0 10px}
.skill-swap{animation:fadein .5s}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.results-table{width:100%;border-collapse:collapse;margin-top:30px}
.results-table td,.results-table th{border:1px solid #444;padding:12px;text-align:center}
.results-table th{background-color:#8B0000;color:white;font-size:1.2em}
.results-table td{background-color:#2c2c2c;font-size:1.1em}
.results-table tr:hover td{background-color:#3a3a3a}
.rank-1{color:#FFD700;font-weight:bold}
.restart-button{font-size:1.2em;background-color:#006400;color:white;border:none;padding:10px 20px;cursor:pointer;margin-top:30px;transition:transform .1s}
.restart-button:hover{transform:scale(1.05)}
.kirari-choice{display:flex;justify-content:center;gap:40px;margin-top:20px}
.skill-log p{text-align:left;line-height:1.6;font-style:italic;color:#ccc}
.results-table .penalty td{background-color:#4d0000!important;color:#ffdddd!important}
.result-avatar{width:40px;height:40px;vertical-align:middle;border-radius:50%}
.role-item.multi-target.selected {
    background-color: #8B0000;
    border-color: #FFD700;
}

